import request from '../../utils/request'

//陪护师创建
export const reqCompanion=(data)=>{
    return request.post('/companion',data)
}

//陪护师头像
export const reqPhotoList=()=>{
    return request.get('/photo/list')
}


//陪护师列表
export const reqCompanionList=(params)=>{
    return request.get('/companion/list',{params})
}

//删除陪护师
export const reqDeleteCompanion=(data)=>{
    return request.post('/delete/companion',data)
}
